package com.hulu.yec.sys.entity;

import java.util.Date;

import com.hulu.yec.common.annotation.Column;

public class MenuEntity {
	private int id;
	private int pid;
	@Column("is_leaf")
	private int isLeaf;
	private String name;
	private String url;
	private int sort;
	@Column("operate_user_id")
	private int operateUserId;
	@Column("operate_time")
	private Date operateTime;
	private int state;
	private String memo;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public int getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(int isLeaf) {
		this.isLeaf = isLeaf;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	public int getOperateUserId() {
		return operateUserId;
	}
	public void setOperateUserId(int operateUserId) {
		this.operateUserId = operateUserId;
	}
	public Date getOperateTime() {
		return operateTime;
	}
	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	@Override
	public String toString() {
		return "MenuEntity [id=" + id + ", pid=" + pid + ", isLeaf=" + isLeaf
				+ ", name=" + name + ", url=" + url + ", sort=" + sort
				+ ", operateUserId=" + operateUserId + ", operateTime="
				+ operateTime + ", state=" + state + ", memo=" + memo + "]";
	}
	
}


















